Otys\OtysPlugin\Includes\Core\Routes C

Total Complexity 110
Dependencies 7
Dependents 19
Total lines 813
Lines of code 464
Logical lines of code 242
Comment lines 205
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get()
A
47 15 31
addRoutes()
A
37 10 84
checkOldVacancyRedirect()
A
43 11 48
getCurrentRoute()
A
50 9 24
checkRewrites()
A
53 9 20
setOtysUrlFormat()
A
45 7 43
locateTemplate()
S
58 7 15
customSlugIsActive()
S
52 6 27
createFakePage()
S
41 2 57
add()
S
53 4 21
throwError()
S
55 4 19
runInitCallback()
S
64 5 9
checkRoute()
S
61 5 10
getRouteParameter()
S
61 4 13
initRewriteRules()
S
64 3 8
checkPage()
S
67 3 8
checkRobots()
S
69 2 7
checkCanonical()
S
69 2 7
addQueryVars()
S
73 1 5
__construct()
S
65 1 8